package com.py.outbound.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 进货退货详细表 od_in_rejected
 * 
 * @author ruoyi
 */
@ToString
public class InRejected extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Integer prId;

    /** 退货单号 */
    @Excel(name = "退货单号")
    private String prCode;

    /** 单据状态 */
    @Excel(name = "单据状态")
    private String prState;

    /** 退货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date prTime;

    /** 进货单号 */
    @Excel(name = "进货单号")
    private String phCode;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 进货部门 */
    @Excel(name = "进货部门")
    private String phDept;

    /** 进货人 */
    @Excel(name = "进货人")
    private String phPerson;

    /** 退货数量 */
    @Excel(name = "退货数量")
    private Integer rejectedNum;

    /** 退货金额 */
    @Excel(name = "退货金额")
    private BigDecimal rejectedMoney;

    /** 退货原因 */
    private String rejectedReason;

    /** 所在部门 */
    @Excel(name = "所在部门")
    private String createDept;

    /** 审核人 */
    @Excel(name = "审核人")
    private String reviewer;

    /** 审核原因 */
    private String reviewerReport;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewerTime;

    /** 逻辑删除 */
    private String isDel;

    /** $table.subTable.functionName信息 */
    private List<RejectedDetails> odRejectedDetailsList;

    public void setPrId(Integer prId)
    {
        this.prId = prId;
    }

    public Integer getPrId()
    {
        return prId;
    }
    public void setPrCode(String prCode)
    {
        this.prCode = prCode;
    }

    public String getPrCode()
    {
        return prCode;
    }
    public void setPrState(String prState)
    {
        this.prState = prState;
    }

    public String getPrState()
    {
        return prState;
    }
    public void setPrTime(Date prTime)
    {
        this.prTime = prTime;
    }

    public Date getPrTime()
    {
        return prTime;
    }
    public void setPhCode(String phCode)
    {
        this.phCode = phCode;
    }

    public String getPhCode()
    {
        return phCode;
    }
    public void setSupplier(String supplier)
    {
        this.supplier = supplier;
    }

    public String getSupplier()
    {
        return supplier;
    }
    public void setContacts(String contacts)
    {
        this.contacts = contacts;
    }

    public String getContacts()
    {
        return contacts;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setPhDept(String phDept)
    {
        this.phDept = phDept;
    }

    public String getPhDept()
    {
        return phDept;
    }
    public void setPhPerson(String phPerson)
    {
        this.phPerson = phPerson;
    }

    public String getPhPerson()
    {
        return phPerson;
    }
    public void setRejectedNum(Integer rejectedNum)
    {
        this.rejectedNum = rejectedNum;
    }

    public Integer getRejectedNum()
    {
        return rejectedNum;
    }
    public void setRejectedMoney(BigDecimal rejectedMoney)
    {
        this.rejectedMoney = rejectedMoney;
    }

    public BigDecimal getRejectedMoney()
    {
        return rejectedMoney;
    }
    public void setRejectedReason(String rejectedReason)
    {
        this.rejectedReason = rejectedReason;
    }

    public String getRejectedReason()
    {
        return rejectedReason;
    }
    public void setCreateDept(String createDept)
    {
        this.createDept = createDept;
    }

    public String getCreateDept()
    {
        return createDept;
    }
    public void setReviewer(String reviewer)
    {
        this.reviewer = reviewer;
    }

    public String getReviewer()
    {
        return reviewer;
    }
    public void setReviewerReport(String reviewerReport)
    {
        this.reviewerReport = reviewerReport;
    }

    public String getReviewerReport()
    {
        return reviewerReport;
    }
    public void setReviewerTime(Date reviewerTime)
    {
        this.reviewerTime = reviewerTime;
    }

    public Date getReviewerTime()
    {
        return reviewerTime;
    }
    public void setIsDel(String isDel)
    {
        this.isDel = isDel;
    }

    public String getIsDel()
    {
        return isDel;
    }

    public List<RejectedDetails> getOdRejectedDetailsList() {
        return odRejectedDetailsList;
    }

    public void setOdRejectedDetailsList(List<RejectedDetails> odRejectedDetailsList) {
        this.odRejectedDetailsList = odRejectedDetailsList;
    }
}
